﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyForum.Domain.Events.Account
{
    [Serializable]
    public class DisplayNameChangedEvent : AccountEvent
    {
        public string NewDisplayName { get; set; }

        public DisplayNameChangedEvent(long ID, string userName)
            : base(ID, userName)
        { }

        public DisplayNameChangedEvent(long ID, string userName, string newDisplayName)
            : base(ID, userName)
        {
            this.NewDisplayName = newDisplayName;
        }
    }
}
